using System;
using System.Collections.Generic;
using System.Text;

namespace Jasongozy.Copor {
    public class TableSchema {
        public string TableName;
        public string DataGroupName;
        public string[] Pks;
        public string[] Columns;
        public string[] ColumnTypes;
        public string[] NullableColumns;
        /// <summary>
        /// key:column name
        /// value:default value
        /// </summary>
        public Dictionary<string, string> DefaultValues = new Dictionary<string, string>();
        
        /// <summary>
        /// special type column 
        /// DBType: Year(for MySql)
        /// </summary>
        public string[] YearColumns ;

        
    }
}
